package com.hzgj.bcl.soa.rpc.retry;

import java.io.IOException;

/**
 * Interface to handle a retry
 */
public interface RetryHandler {
    /**
     * Do the retry
     *
     * @throws java.io.IOException if connection fails
     */
    void doRetry() throws IOException;

    void catchException(IOException exception);
}